#!/bin/bash

set -x

make linux

mkdir -p kratos-layout/bin
cp -f bin/kratos-layout kratos-layout/bin
cp -rf service kratos-layout/
cp -f install.sh kratos-layout/
cp -rf configs kratos-layout/

rm -f kratos-layout.tar.gz
tar -czvf kratos-layout.tar.gz kratos-layout/
rm -rf kratos-layout